'use strict';

/**
 * @param {Egg.Application} app - egg application
 */
module.exports = app => {
  const { router, controller } = app;

  console.log('router==============>get===========>findall');
  router.get('/', controller.equipmentController.index);
  router.get('/info', controller.equipmentController.info);
  router.get('/updatebyid', controller.equipmentController.updatebyid);
  router.get('/insertequip', controller.equipmentController.insertequip);
  router.get('/deletebyid', controller.equipmentController.deletebyid);
};
